package com.jmb.api.vo.mock;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class MockApiListVO {
    private Boolean portRunning;
    private Boolean apiRunning;

    private Long serverId;
    private Integer port;
    private String remoteHost;
    private Integer remotePort;

    private Long apiId;
    private String description;
    private String url;
    private String method;
    private Integer responseCode;
    private String responseHeaders;
    private String responseBody;
    private Integer responseDelay;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    private Integer responseHeadersEnableRely;
    private Integer responseBodyEnableRely;
    private Integer creatorId;
    private String creatorName;
    private Integer responseBodyType;
}
